package com.ddwl.schema.vo.goods.retail;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @Author hemiaojun
 * @Date 2020/12/1 16:30
 */
@Getter
@Setter
@ApiModel("店铺商品分类展示vo")
public class ShopItemCategoryListVo {

    @ApiModelProperty("ID")
    private String id;

    @ApiModelProperty("分类名称")
    private String name;

    @ApiModelProperty("父级ID")
    private String pid;

    @ApiModelProperty("是否启用 0否 1是")
    private Integer effect;

    @ApiModelProperty("分类code 从最上级分类开始用斜杠拼接到所选择的分类为止 如： 一级分类id/二级分类id/...")
    private String categoryCode;

    @ApiModelProperty("子菜单")
    private List<ShopItemCategoryListVo> children;

}
